package com.lianqi.emcpframework.ddd.gencode.process;

import javax.annotation.processing.Processor;
import javax.annotation.processing.SupportedSourceVersion;
import javax.lang.model.SourceVersion;

import com.lianqi.emcpframework.ddd.gencode.plugin.GenControllerPlugin;
import com.lianqi.emcpframework.ddd.gencode.plugin.ProcessorPlugin;
import com.google.auto.service.AutoService;

@SupportedSourceVersion(SourceVersion.RELEASE_8)
@AutoService(Processor.class)
public class EndpointCodeGenProcessor extends AbstractCodeGenProcessor {

    private final ProcessorPlugin[] plugins = new ProcessorPlugin[] {new GenControllerPlugin()};

    @Override
    ProcessorPlugin[] getPlugins() {
        return this.plugins;
    }
}
